package com.mjlf.hometeach.common.entity.assit;

import com.mjlf.hometeach.common.entity.DataTemplate;

import java.util.List;

/**
 * @auther a123
 * @create 2018-05-05 17:08
 * @desc 科目分类
 */
public class Classify extends DataTemplate {

    private String name;
    private List<Subject> subjects;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Subject> getSubjects() {
        return subjects;
    }

    public void setSubjects(List<Subject> subjects) {
        this.subjects = subjects;
    }

    @Override
    public String toString() {
        return "Classify{" +
                "name='" + name + '\'' +
                ", subjects=" + subjects +
                ", id=" + id +
                ", createTime=" + createTime +
                ", modifyTime=" + modifyTime +
                '}';
    }
}
